#include "iostream.h" void main(int argc, char *argv[]) { int i=5; while(i--){ cout << i << " "; } cout << "End of While \n"; i = 5; while(--i){ cout << i << " "; } cout << "End of While \n"; for(int k = 5; k; k--){ cout << k << " "; } cout << "End of For \n"; for(int j = 5; j; --j){ cout << j << " "; } cout << "End of For \n"; cin >> i; }
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country. Now is the time for all
good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.